import * as actionTypes from "./constants";

// 保存用户登录信息
export const changeAdminUserAction = (user) => {
  return dispatch => {
    return dispatch({
      type: actionTypes.CHANGE_USER_BASE,
      user: user
    })
  }
}